<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
    document.getElementById('child').style.width = '600px';
}
window.onload = runRepaintAndPixelTest;
</script>
<style>
body {
    margin: 0;
}
.container {
    position: absolute;
    height: 1000px;
    background-color: blue;
}
#child {
    width: 400px;
}
.overflow {
    width: 800px;
    height: 50px;
}
</style>
<div class="container">
    <div id="child">
        <div class="overflow"></div>
    </div>
</div>
